home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / BaseSess.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  1.6 KB  |  66 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _BASESESS_
  3. #define _BASESESS_
  4.  
  5. #ifndef _ODOBJECT_
  6. #include "ODObject.idl"
  7. #endif
  8.  
  9. //==============================================================================
  10. // Theory of Operation
  11. //==============================================================================
  12.  
  13. //==============================================================================
  14. // Classes defined in this interface
  15. //==============================================================================
  16.  
  17. interface   ODBaseSession;
  18.  
  19. //==============================================================================
  20. // Classes used by this interface
  21. //==============================================================================
  22.  
  23. interface   ODStorageSystem;
  24. interface   ODNameSpaceManager;
  25.  
  26. //=====================================================================================
  27. // Implementation Types
  28. //=====================================================================================
  29.  
  30.  
  31. //==============================================================================
  32. // ODBaseSession
  33. //==============================================================================
  34.  
  35. interface ODBaseSession :  ODObject
  36. {
  37.  
  38.    ODStorageSystem GetStorageSystem();
  39.  
  40.    void Close();
  41.  
  42.    ODNameSpaceManager GetNameSpaceManager();
  43.  
  44.  
  45. #ifdef __SOMIDL__
  46.   implementation
  47.   {
  48.     override:
  49.         somInit,
  50.         somUninit,
  51.         Purge;
  52.     
  53.     releaseorder:
  54.         InitSession,
  55.         GetStorageSystem,
  56.         Close,
  57.         GetNameSpaceManager,
  58.         GetBinding;
  59.  
  60.   };
  61. #endif
  62. };
  63.  
  64.  
  65. #endif // _BASESESS_
  66.